Cover TOC Chap Prev Chap Prev Fig Next Fig Next Chap

Chapter 20: Lighting Your World

../ch20/20fig06b.gif
Figure 20.6b

A sphere world illuminated from the center by a point light with its ambient intensity set high. Compare with Figure 20.6a.

20fig06b.wrl
Click on the image to view the VRML scene.

#VRML V2.0 utf8
# The VRML 2.0 Sourcebook
# Copyright (c) 1997
# Andrea L. Ames, David R. Nadeau, and John L. Moreland
Group {
    children [
        PointLight {
            location 0.0 0.0 0.0
            radius   12.0
            ambientIntensity 0.8
        },
        Inline {
            url "spheres.wrl"
            bboxCenter 0.0 0.0 0.0
            bboxSize   16.0 16.0 1.0
        }
    ]
}